package com.qiaofang.collectmanage.dao.domain;
/**
 * @Author:   yi.li
 */
import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

@Table(name="collect_rule")
public class CollectRule  {

    private Integer id;

    private String uuid;

    private String city;

    private String source;

    private String website;

    private String belonger;

    private Integer deleted;

    @Column(name = "collect_house_type")
    private String collectHouseType;

    @Column(name = "collect_type")
    private String collectType;


    @Column(name = "list_web_code")
    private String listWebCode;

    @Column(name = "detail_web_code")
    private String detailWebCode;

    @Column(name = "default_pages")
    private Integer defaultPages;

    @Column(name = "topic_name")
    private String topicName;

    @Column(name = "created_user_id")
    private Long createdUserId;

    @Column(name = "updated_user_id")
    private Long updatedUserId;

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    @Column(name = "created_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdTime;

    @Column(name = "updated_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatedTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getWebsite() {
        return website;
    }

    public void setWebsite(String website) {
        this.website = website;
    }

    public String getBelonger() {
        return belonger;
    }

    public void setBelonger(String belonger) {
        this.belonger = belonger;
    }


    public String getCollectType() {
        return collectType;
    }

    public void setCollectType(String collectType) {
        this.collectType = collectType;
    }


    public String getListWebCode() {
        return listWebCode;
    }

    public void setListWebCode(String listWebCode) {
        this.listWebCode = listWebCode;
    }

    public String getDetailWebCode() {
        return detailWebCode;
    }

    public void setDetailWebCode(String detailWebCode) {
        this.detailWebCode = detailWebCode;
    }

    public Integer getDefaultPages() {
        return defaultPages;
    }

    public void setDefaultPages(Integer defaultPages) {
        this.defaultPages = defaultPages;
    }

    public String getTopicName() {
        return topicName;
    }

    public void setTopicName(String topicName) {
        this.topicName = topicName;
    }

    public String getCollectHouseType() {
        return collectHouseType;
    }

    public void setCollectHouseType(String collectHouseType) {
        this.collectHouseType = collectHouseType;
    }

    public Long getCreatedUserId() {
        return createdUserId;
    }

    public void setCreatedUserId(Long createdUserId) {
        this.createdUserId = createdUserId;
    }

    public Long getUpdatedUserId() {
        return updatedUserId;
    }

    public void setUpdatedUserId(Long updatedUserId) {
        this.updatedUserId = updatedUserId;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }
}